-- GENERATED SPELL FOR [Marine Anderson] --


function spell0_24842(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24842', 5325, 1)
end

function Sorts_24842(pUnit, Event)
local choix_sorts_24842 = math.random(0, 0)
if choix_sorts_24842 == 0 then
pUnit:RegisterEvent('spell0_24842', 1, 1)
end
end

function mob24842_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24842', math.random(1500, 3000), 1)
end

function mob24842_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24842_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24842_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24842, 1, 'mob24842_Action')
RegisterUnitEvent(24842, 2, 'mob24842_Leave')
RegisterUnitEvent(24842, 3, 'mob24842_Kill')
RegisterUnitEvent(24842, 4, 'mob24842_Die')
